PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Blobby / shifter - smoked glass - i can't afford to mash this.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.994 |
| 8 | fDecay=1.000 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=0 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=1 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.286 |
| 27 | fWaveSmoothing=0.630 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=1.000 |
| 35 | zoom=1.00049 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=0.67165 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.002 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=ti = time*1; |
| 89 | wave_0_per_frame2=r = .5 + .5*sin(ti*1.789); |
| 90 | wave_0_per_frame3=g = .5 + .5*sin(ti*1.123); |
| 91 | wave_0_per_frame4=b = .5 + .5*sin(ti*1.465); |
| 92 | wave_0_per_point1=x = int(rand(1001))*.001; |
| 93 | wave_0_per_point2=Y = int(rand(1001))*.001; |
| 94 | wave_0_per_point3= |
| 95 | wave_0_per_point4=//a = min(1,value1 + value2); |
| 96 | wavecode_1_enabled=0 |
| 97 | wavecode_1_samples=512 |
| 98 | wavecode_1_sep=0 |
| 99 | wavecode_1_bSpectrum=0 |
| 100 | wavecode_1_bUseDots=1 |
| 101 | wavecode_1_bDrawThick=0 |
| 102 | wavecode_1_bAdditive=0 |
| 103 | wavecode_1_scaling=1.00000 |
| 104 | wavecode_1_smoothing=0.50000 |
| 105 | wavecode_1_r=1.000 |
| 106 | wavecode_1_g=1.000 |
| 107 | wavecode_1_b=1.000 |
| 108 | wavecode_1_a=1.000 |
| 109 | wave_1_per_frame1=ti = time*1 + 1.57; |
| 110 | wave_1_per_frame2=r = .5 + .5*sin(ti*1.789); |
| 111 | wave_1_per_frame3=g = .5 + .5*sin(ti*1.123); |
| 112 | wave_1_per_frame4=b = .5 + .5*sin(ti*1.465); |
| 113 | wave_1_per_point1=x = int(rand(1001))*.001; |
| 114 | wave_1_per_point2=Y = int(rand(1001))*.001; |
| 115 | wave_1_per_point3= |
| 116 | wave_1_per_point4=//a = min(1,value1 + value2); |
| 117 | wavecode_2_enabled=0 |
| 118 | wavecode_2_samples=512 |
| 119 | wavecode_2_sep=0 |
| 120 | wavecode_2_bSpectrum=0 |
| 121 | wavecode_2_bUseDots=0 |
| 122 | wavecode_2_bDrawThick=0 |
| 123 | wavecode_2_bAdditive=0 |
| 124 | wavecode_2_scaling=1.00000 |
| 125 | wavecode_2_smoothing=0.50000 |
| 126 | wavecode_2_r=1.000 |
| 127 | wavecode_2_g=1.000 |
| 128 | wavecode_2_b=1.000 |
| 129 | wavecode_2_a=1.000 |
| 130 | wavecode_3_enabled=0 |
| 131 | wavecode_3_samples=512 |
| 132 | wavecode_3_sep=0 |
| 133 | wavecode_3_bSpectrum=0 |
| 134 | wavecode_3_bUseDots=0 |
| 135 | wavecode_3_bDrawThick=0 |
| 136 | wavecode_3_bAdditive=0 |
| 137 | wavecode_3_scaling=1.00000 |
| 138 | wavecode_3_smoothing=0.50000 |
| 139 | wavecode_3_r=1.000 |
| 140 | wavecode_3_g=1.000 |
| 141 | wavecode_3_b=1.000 |
| 142 | wavecode_3_a=1.000 |
| 143 | shapecode_0_enabled=1 |
| 144 | shapecode_0_sides=100 |
| 145 | shapecode_0_additive=0 |
| 146 | shapecode_0_thickOutline=0 |
| 147 | shapecode_0_textured=0 |
| 148 | shapecode_0_num_inst=1 |
| 149 | shapecode_0_x=0.000 |
| 150 | shapecode_0_y=0.500 |
| 151 | shapecode_0_rad=0.98609 |
| 152 | shapecode_0_ang=0.00000 |
| 153 | shapecode_0_tex_ang=0.00000 |
| 154 | shapecode_0_tex_zoom=1.00000 |
| 155 | shapecode_0_r=0.600 |
| 156 | shapecode_0_g=0.600 |
| 157 | shapecode_0_b=0.600 |
| 158 | shapecode_0_a=0.020 |
| 159 | shapecode_0_r2=1.000 |
| 160 | shapecode_0_g2=1.000 |
| 161 | shapecode_0_b2=1.000 |
| 162 | shapecode_0_a2=0.000 |
| 163 | shapecode_0_border_r=1.000 |
| 164 | shapecode_0_border_g=1.000 |
| 165 | shapecode_0_border_b=1.000 |
| 166 | shapecode_0_border_a=0.000 |
| 167 | shape_0_per_frame1=r2 = r;g2=g;b2=b; |
| 168 | shape_0_per_frame2= |
| 169 | shape_0_per_frame3=//x = int(rand(1001))*.001; |
| 170 | shape_0_per_frame4= |
| 171 | shape_0_per_frame5=a = max((q4 + q5 + q6)*.1,.05); |
| 172 | shapecode_1_enabled=1 |
| 173 | shapecode_1_sides=100 |
| 174 | shapecode_1_additive=0 |
| 175 | shapecode_1_thickOutline=0 |
| 176 | shapecode_1_textured=0 |
| 177 | shapecode_1_num_inst=1 |
| 178 | shapecode_1_x=1.000 |
| 179 | shapecode_1_y=0.500 |
| 180 | shapecode_1_rad=0.98609 |
| 181 | shapecode_1_ang=0.00000 |
| 182 | shapecode_1_tex_ang=0.00000 |
| 183 | shapecode_1_tex_zoom=1.00000 |
| 184 | shapecode_1_r=0.600 |
| 185 | shapecode_1_g=0.600 |
| 186 | shapecode_1_b=0.600 |
| 187 | shapecode_1_a=0.020 |
| 188 | shapecode_1_r2=1.000 |
| 189 | shapecode_1_g2=1.000 |
| 190 | shapecode_1_b2=1.000 |
| 191 | shapecode_1_a2=0.000 |
| 192 | shapecode_1_border_r=1.000 |
| 193 | shapecode_1_border_g=1.000 |
| 194 | shapecode_1_border_b=1.000 |
| 195 | shapecode_1_border_a=0.000 |
| 196 | shape_1_per_frame1=r2 = r;g2=g;b2=b; |
| 197 | shape_1_per_frame2= |
| 198 | shape_1_per_frame3=//x = int(rand(1001))*.001; |
| 199 | shape_1_per_frame4= |
| 200 | shape_1_per_frame5=a = max((q4 + q5 + q6)*.1,.05); |
| 201 | shapecode_2_enabled=1 |
| 202 | shapecode_2_sides=100 |
| 203 | shapecode_2_additive=0 |
| 204 | shapecode_2_thickOutline=0 |
| 205 | shapecode_2_textured=0 |
| 206 | shapecode_2_num_inst=1 |
| 207 | shapecode_2_x=0.330 |
| 208 | shapecode_2_y=0.500 |
| 209 | shapecode_2_rad=0.98609 |
| 210 | shapecode_2_ang=0.00000 |
| 211 | shapecode_2_tex_ang=0.00000 |
| 212 | shapecode_2_tex_zoom=1.00000 |
| 213 | shapecode_2_r=0.600 |
| 214 | shapecode_2_g=0.600 |
| 215 | shapecode_2_b=0.600 |
| 216 | shapecode_2_a=0.020 |
| 217 | shapecode_2_r2=1.000 |
| 218 | shapecode_2_g2=1.000 |
| 219 | shapecode_2_b2=1.000 |
| 220 | shapecode_2_a2=0.000 |
| 221 | shapecode_2_border_r=1.000 |
| 222 | shapecode_2_border_g=1.000 |
| 223 | shapecode_2_border_b=1.000 |
| 224 | shapecode_2_border_a=0.000 |
| 225 | shape_2_per_frame1=r2 = r;g2=g;b2=b; |
| 226 | shape_2_per_frame2= |
| 227 | shape_2_per_frame3=//x = int(rand(1001))*.001; |
| 228 | shape_2_per_frame4= |
| 229 | shape_2_per_frame5=a = max((q4 + q5 + q6)*.1,.05); |
| 230 | shapecode_3_enabled=1 |
| 231 | shapecode_3_sides=100 |
| 232 | shapecode_3_additive=0 |
| 233 | shapecode_3_thickOutline=0 |
| 234 | shapecode_3_textured=0 |
| 235 | shapecode_3_num_inst=1 |
| 236 | shapecode_3_x=0.670 |
| 237 | shapecode_3_y=0.500 |
| 238 | shapecode_3_rad=0.98609 |
| 239 | shapecode_3_ang=0.00000 |
| 240 | shapecode_3_tex_ang=0.00000 |
| 241 | shapecode_3_tex_zoom=1.00000 |
| 242 | shapecode_3_r=0.600 |
| 243 | shapecode_3_g=0.600 |
| 244 | shapecode_3_b=0.600 |
| 245 | shapecode_3_a=0.020 |
| 246 | shapecode_3_r2=1.000 |
| 247 | shapecode_3_g2=1.000 |
| 248 | shapecode_3_b2=1.000 |
| 249 | shapecode_3_a2=0.000 |
| 250 | shapecode_3_border_r=1.000 |
| 251 | shapecode_3_border_g=1.000 |
| 252 | shapecode_3_border_b=1.000 |
| 253 | shapecode_3_border_a=0.000 |
| 254 | shape_3_per_frame1=r2 = r;g2=g;b2=b; |
| 255 | shape_3_per_frame2= |
| 256 | shape_3_per_frame3=//x = int(rand(1001))*.001; |
| 257 | shape_3_per_frame4= |
| 258 | shape_3_per_frame5=a = max((q4 + q5 + q6)*.1,.05); |
| 259 | per_frame_1=warp = 0; |
| 260 | per_frame_2= |
| 261 | per_frame_3=tic = min(time-tin,.1); |
| 262 | per_frame_4=tin = time; |
| 263 | per_frame_5= |
| 264 | per_frame_6=vol = (bass_att + treb_att + mid_att)*.333333; |
| 265 | per_frame_7= |
| 266 | per_frame_8=ra = 1/tic*.25; |
| 267 | per_frame_9= |
| 268 | per_frame_10=treb_avg = tic*(treb_avg*(1/tic - ra) + ra*treb); |
| 269 | per_frame_11=mid_avg = tic*(mid_avg*(1/tic - ra) + ra*mid); |
| 270 | per_frame_12=bass_avg = tic*(bass_avg*(1/tic - ra) + ra*bass); |
| 271 | per_frame_13=vav = tic*(vav*(1/tic - ra) + ra*(bass+treb+mid)*.33333); |
| 272 | per_frame_14= |
| 273 | per_frame_15=tt = tt + tic*treb; |
| 274 | per_frame_16=mt = mt + tic*mid; |
| 275 | per_frame_17=bt = bt + tic*bass; |
| 276 | per_frame_18=vt = vt + tic*vav; |
| 277 | per_frame_19= |
| 278 | per_frame_20=q1 = tt*4; |
| 279 | per_frame_21=q2 = mt*4; |
| 280 | per_frame_22=q3 = bt*4; |
| 281 | per_frame_23= |
| 282 | per_frame_24=st = .1; |
| 283 | per_frame_25=base = .15; |
| 284 | per_frame_26=q4 = base + treb_avg*st; |
| 285 | per_frame_27=q5 = base + mid_avg*st; |
| 286 | per_frame_28=q6 = base + bass_avg*st; |
| 287 | per_frame_29= |
| 288 | per_pixel_1=ti = time*.3; |
| 289 | per_pixel_2= |
| 290 | per_pixel_3=mx = x - .5 + .25*(sin(ti*1.1278) + sin(ti*.7458)); |
| 291 | per_pixel_4=my = y - .5 + .25*(sin(ti*.9454) + sin(ti*1.2378)); |
| 292 | per_pixel_5=zm = cos(pow(mx*mx*1.5 + my*my,.5)*16 - q1)*q4; |
| 293 | per_pixel_6=dx = zm*(x-mx); |
| 294 | per_pixel_7=dy = zm*(y-my); |
| 295 | per_pixel_8= |
| 296 | per_pixel_9=mx = x - .5 + .25*(sin(ti*1.3488) + sin(ti*.8552)); |
| 297 | per_pixel_10=my = y - .5 + .25*(sin(ti*.7366) + sin(ti*1.1447)); |
| 298 | per_pixel_11=zm = cos(pow(mx*mx*1.5 + my*my,.5)*16 - q2)*q5; |
| 299 | per_pixel_12=dx = dx + zm*mx; |
| 300 | per_pixel_13=dy = dy + zm*my; |
| 301 | per_pixel_14= |
| 302 | per_pixel_15=mx = x - .5 + .25*(sin(ti*1.3544) + sin(ti*.8926)); |
| 303 | per_pixel_16=my = y - .5 + .25*(sin(ti*.9021) + sin(ti*1.2468)); |
| 304 | per_pixel_17=zm = cos(pow(mx*mx*1.5 + my*my,.5)*16 - q3)*q6; |
| 305 | per_pixel_18=dx = dx + zm*mx; |
| 306 | per_pixel_19=dy = dy + zm*my; |
| 307 | warp_1=`sampler sampler_rand02; |
| 308 | warp_2=`float4 texsize_rand02; // ...it's smart enough to get it from just this. |
| 309 | warp_3=`//float4 texsize_rand03; // ...it's smart enough to get it from just this. |
| 310 | warp_4=` |
| 311 | warp_5=`shader_body |
| 312 | warp_6=`{ |
| 313 | warp_7=` // sample previous frame |
| 314 | warp_8=` float3 main = tex2D( sampler_main, uv ).xyz; |
| 315 | warp_9=`float s = 1; |
| 316 | warp_10=`float zoom = sin((q5-q6)*(q14-q5)*.1)*s + s*1.01; |
| 317 | warp_11=`float2 Zoom = float2(zoom,zoom); |
| 318 | warp_12=`float2 Pan = float2(1.0136,.31); |
| 319 | warp_13=` float2 c = (uv - 0.5) * Zoom * aspect - Pan; |
| 320 | warp_14=`float2 v = 0+sin(q5)*.05; |
| 321 | warp_15=` |
| 322 | warp_16=`float m = 0; |
| 323 | warp_17=` |
| 324 | warp_18=`const float r = 5; |
| 325 | warp_19=`float its = 30; |
| 326 | warp_20=`for (int n = 0; n < its; n++) |
| 327 | warp_21=`{ |
| 328 | warp_22=`v = float2(v.x * v.x - v.y * v.y, v.x * v.y * 2) + c; |
| 329 | warp_23=` |
| 330 | warp_24=`if (dot(v, v) < (r*r - 1)) |
| 331 | warp_25=`m++; |
| 332 | warp_26=` |
| 333 | warp_27=`v = clamp(v, -r, r); |
| 334 | warp_28=`} |
| 335 | warp_29=` |
| 336 | warp_30=`float3 man = tex2D( sampler_main, v ).xyz; |
| 337 | warp_31=`float3 color = tex2D( sampler_rand02, v ).xyz; |
| 338 | warp_32=` |
| 339 | warp_33=` |
| 340 | warp_34=`if (m == its) |
| 341 | warp_35=`ret = main; |
| 342 | warp_36=`else |
| 343 | warp_37=`ret = (float4(sin(m/4+q1*3), sin(m/5-q2*3), sin(m/7+q22), 1) / 4 + 0.75); |
| 344 | warp_38=` |
| 345 | warp_39=`//ret = (ret * man*4 + color)*.4; |
| 346 | warp_40=`//ret=color; |
| 347 | warp_41=` ret *= 0.98; //or try: ret -= 0.004; |
| 348 | warp_42=`} |
| 349 | comp_1=`sampler sampler_rand00; |
| 350 | comp_2=`shader_body |
| 351 | comp_3=`{ |
| 352 | comp_4=`ret = tex2D(sampler_rand00, frac(1-GetBlur2(uv).yx*0.6 + time*float2(0.057,.036))) |
| 353 | comp_5=`*(1+GetPixel(uv).x + GetBlur1(uv).y)*0.4; |
| 354 | comp_6=` |
| 355 | comp_7=`} |